package domotics;

public class Alarm {
		private String status = "off";
		private String detection = "negative";
		private int code;
		
		public void setStatus(String status){
			this.status = status;	
			}
		
		public void setDetection(String detection){
			this.detection = detection;	
			}
		
		public void setCode(int code){
			this.code = code;	
			}
		//====================================================
			public String getStatus(){
			return status;	
			}
			
			public String getDetection(){
				return detection;	
				}
			
			public int  getCode(){
				return code;	
				}

}
